package com.tongzhan.entity.party;

import com.tongzhan.annotation.ColumnDoc;
import com.tongzhan.annotation.PrimaryKey;
import com.tongzhan.annotation.TableDoc;
import com.tongzhan.base.BaseModel;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**回复表
 * @author hongjianbin
 * @date 2020/7/16
 */
@TableDoc(table = "t_reply",desc = "回复表")
@Data
@Document(collection = "t_reply")
public class Reply extends BaseModel {

    @PrimaryKey
    @ColumnDoc("主键id")
    private String rid;//回复id

    @ColumnDoc("被回复评论id")
    private  String did;//被回复评论id

    @ColumnDoc("回复者id")
    private String reply_person_id;//回复者id

    @ColumnDoc("回复者名称")
    private String replyName;//回复者名称

    @ColumnDoc("回复内容")
    private  String reply_content;//回复内容

    @ColumnDoc("删除")
    private Integer is_del;//删除

    @ColumnDoc("回复时间")
    private Date reply_time;//回复时间

    @ColumnDoc("类型")
    private Integer type;//类型 1是党派 2是侨台 3是乡贤

}
